[PATCH] lua: remove luajit pushlstring workaround
authorVictor Julien <vjulien@oisf.net>
Fri, 31 Oct 2025 08:38:55 +0000 (09:38 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Sun, 22 Feb 2026 12:28:52 +0000 (13:28 +0100)
commit179af3a8689ee6263e79a97b8d38b385610776c1
tree14139ad62701ab955beaf342f2cb5f2bf33501e4
parent9e08dd313ca6efd87b605a14bebf8ccadd3ee824
[PATCH] lua: remove luajit pushlstring workaround

81ee6f5aadeb ("lua: push correct length back through ScFlowvarGet, work around valgrind warning")
added a workaround for valgrind warnings in pushing a string buffer
into the lua state. This is no longer needed as tested with both
address sanitizer and valgrind.

(cherry picked from commit 52fd61dffdfa50c9a2d4ec24865a54da0b8f0a2a)

Origin: upstream, https://github.com/OISF/suricata/commit/a7ff4c9ba53009680c7cd128b16c28d0aeda9886.patch
Bug: https://redmine.openinfosecfoundation.org/issues/8065
Subject: Upstream fix for CVE-2025-64344

Gbp-Pq: Name CVE-2025-64344.patch
src/util-lua.c